package com.aspose.cells;

class zjw {
   static Object a(Object var0) {
      if (var0 == null) {
         return "";
      } else if (var0 instanceof zst) {
         return var0;
      } else {
         String var1 = com.aspose.cells.b.a.zr.a(var0);
         if (var1.length() == 0) {
            return var1;
         } else {
            StringBuilder var2 = new StringBuilder();

            for(int var3 = 0; var3 < var1.length(); ++var3) {
               char var4 = var1.charAt(var3);
               if (var4 >= ' ') {
                  switch(var4) {
                  case '\u007f':
                  case '\u0081':
                  case '\u008d':
                  case '\u008f':
                  case '\u0090':
                  case '\u009d':
                     break;
                  default:
                     var2.append(var1.charAt(var3));
                  }
               }
            }

            return com.aspose.cells.b.a.zr.a(var2);
         }
      }
   }
}
